html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #aaa;
}

.container {
    display: flex;
    justify-content: center;
    height: 100%;
}
canvas {
    height: 100%;
}